home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_2
/
prom202b.zip
/
INSTALL.EXE
/
PONYTRAN.DOC
< prev
next >
Wrap
Text File
|
1992-05-30
|
5KB
|
140 lines
PONYTRAN File Transfer Program
Copyright (c) 1992 Sun Country Software
Version 1.02
Whats New - 05-23-92
-----------------------------------------------------------------------
+ Added DSZ compatible log file. We do not provide as much information
as DSZ does but enough to get File size Baud Rate CPS and Filename.
Whats New - 04-09-92
-----------------------------------------------------------------------
Corrected bug that wouldn't recognize a dropped carrier during
transfers.
Whats New - 02-28-92
-----------------------------------------------------------------------
+ Passing baud rate does not hang up now. Passing Baud Rate will now
allow for accurate time estimates, CPS and Efficeincy calculations.
Whats New - 02-23-92
-----------------------------------------------------------------------
+ Cleaned up display on Times to remove extra digit.
Whats New - 02-20-92
-----------------------------------------------------------------------
+ Cleaned up some of the Log entries for Activity logs.
+ Cleaned up some code that caused Ymodem/Ymodemg to not complete file
transfers correctly. It should work fine now.
------- Overview ------------------------------------------------------
PonyTran is a command line program that provides one transmit or one
receive protocol session. To start a Zmodem protocol transmit of all
the PAS files in your directory you would type the following:
PonyTran /c 2 /b 9600 /z /t *.pas
PonyTran will open Com2 at 9600 baud and transmit all PAS files using
the Zmodem protocol. After all the PAS files have been transmitted
PonyTran will report the ending AsyncStatus value.
To send a list of files you would use @FileList
If you wish to transmit additional files then you would rerun PonyTran
with appropriate parameters.
Let's take a look at all of the PonyTran parameters and discuss them in
turn:
Usage: PonyTran [options] SrcFilename
/B BaudRate Baudrate
/C # Comport name [default = 1]
/T Transmit mode [default]
/R Receive mode
/S ASCII transfer
/X Xmodem/XmodemCRC [default]
/K Xmodem1K
/L Xmodem1KG
/Y Ymodem
/G YmodemG
/Z Zmodem
/F Kermit
/A Zmodem option - resume interrupted transfer
/O Zmodem option - always overwrite files
/N Zmodem option - only overwrite if newer
/B BaudRate - If you do not specify a baud rate PonyTran will open
the specified port without disturbing its existing parameters.
You would typically omit the baud rate whenever you are running
PonyTran as a DOS EXEC or Shell from some other communications program
(so that PonyTran would use the line parameters left by the parent
program).
/C # - This is the Com port number you wish to use. If you omit this
parameter Com1 will be used. PonyTran supports Com1-Com4 on PCs and ATs,
Com1-Com8 on PS/2s.
/T - Specifies that you wish to transmit files. This is the default.
Whenever you are transmitting files you must supply a file mask (or
file name) as the last parameter on the command line.
/R - Specifies that you wish to receive fies. If the protocol you've
selected doesn't support file names (Xmodem and Ascii) then you must
supply a receive file name as the parameter on the command line. If
the selected protocol does support file names then any name you
specify on the command line will be ignored.
/S .. /F - Specifies the protocol you wish to use. PonyTran supports all
standard protocols.
/A .. /N - Specifies a few Zmodem options that you might want to
experiment with. /A resumes interrupted file transfers. It can be
specified by either the transmitter or receiver. /O tells Zmodem to
always overwrite existing files (the default is to skip existing
files). /N tells Zmodem to overwrite existing files only if the
incoming file has a later time stamp.
PonyTran will use hardware flow control,PonyTran will never use software
flow control.
PonyTran will display the progress of the protocol transfer.
PonyTran will read the Environment variable PTLOG if it is set and
will create a log of all transmitted and received files. It will append
to the this file if it already exists. The log entry consists of the
protocol type, file name, whether it was transmitted or received and
whether the transfer was successful or not. PonyTran's logging routine
will also delete partially received files unless the protocol in use was
Zmodem (since Zmodem could resume the transfer from the point of
interruption).
PonyTran also reads Environment variable PTBBS if it is set and
will write Wildcat Activity log format if it is set to WILDCAT.
will write pcboard Activity log format if it is set to PCBOARD.
If the Environment variable PTLOG is not set then the log file will
not be created.
Zmodem uses its own file management rules. PonyTran uses the default of
WriteProtect which means it will skip files that already exist at the
destination. You can modify this with the /O and /N command line
parameters. Note that Zmodem doesn't have a rename option.